package controller
{
	import com.adobe.cairngorm.control.FrontController;
	
	import command.AppInitializationCommand;
	import command.LoadBabyCommand;
	import command.LoadWhoDataCommand;
	import command.SaveBabyCommand;
	
	import event.AppInitializationEvent;
	import event.LoadBabyEvent;
	import event.LoadWhoDataEvent;
	import event.SaveBabyEvent;

	public class MainController extends FrontController
	{
		public function MainController()
		{
			addCommand(AppInitializationEvent.NAME, AppInitializationCommand);
			addCommand(LoadBabyEvent.NAME, LoadBabyCommand);
			addCommand(SaveBabyEvent.NAME, SaveBabyCommand);
			addCommand(LoadWhoDataEvent.NAME, LoadWhoDataCommand);
		}
		
	}
}